package com.lovo.project.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lovo.project.bean.JournalBean;
import com.lovo.project.mapper.JournalMapper;
import com.lovo.project.service.JournalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class JournalServiceImpl extends ServiceImpl<JournalMapper, JournalBean> implements JournalService {
    @Autowired
    JournalMapper journalMapper;
    @Override
    public Page<JournalBean> selectJournalList(Page<JournalBean> page, QueryWrapper queryWrapper) {
        Page<JournalBean> page1=journalMapper.selectPage(page,queryWrapper);
        return page1;
    }
}
